Bookly\Lib\Utils\Common B

Total Complexity 95
Dependencies 10
Dependents 68
Total lines 723
Lines of code 436
Logical lines of code 160
Comment lines 189
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
getCalendarSettings()
A
41 11 52
getGateways()
S
51 6 27
noCache()
S
62 6 13
getDurationSelectOptions()
S
52 5 26
getServiceDataForDropDown()
S
52 5 25
getIndustries()
S
36 1 85
cancelAppointmentRedirect()
S
58 5 16
postsHaveShortCode()
S
62 5 11
getAdminEmails()
S
55 4 18
getCurrentPageURL()
S
63 5 9
getCurrentUserTimeZone()
S
61 4 12
getEmailHeaders()
S
59 3 13
updateBlogUsersMeta()
S
58 2 15
isCurrentUserCustomer()
S
71 3 5
_xor()
S
63 3 9
redirect()
S
58 1 21
getCsrfToken()
S
70 2 6
escAdminUrl()
S
67 2 7
getFilesystem()
S
67 2 7
prepareUrlReferrers()
S
64 2 10
generateToken()
S
66 2 8
isCurrentUserAdmin()
S
78 2 3
getRequiredCapability()
S
79 2 3
isCurrentUserStaff()
S
73 2 4
isCurrentUserSupervisor()
S
78 2 3
xorDecrypt()
S
78 1 3
xorEncrypt()
S
78 1 3
disableEmoji()
S
68 1 7
getTranslatedOption()
S
78 1 3
stripScripts()
S
78 1 3
html()
S
81 1 3
css()
S
78 1 3
getTranslatedString()
S
77 1 3